I am almost finished programming my GUI and then the real fun real begin of hooking it up to the machine.
The machine has some old tech servo drives with 16' heidenhain scales and is driven with rack / pinion.
Currently this is controlled with a galil card in dual loop mode driving the amplifiers in torque mode.
The other option on the drive is speed/velocity mode which would mean that with that set I would only need one channel to drive the dual encoder combo.
I think I would like to try to use 2 channels per axis.
I guess I would connect the motor encoder to one channel and set the P, D settings and then connect the scale to another channel and give it most of the I settings?
How can combine the outputs from these 2 channels to a single (+-10volt) motor torque command?
The reason for this is the drives do not have good tuning software like the kflop.
Is there any examples of this being done already?
I would also like to implement a position/encoder safety system that would compare both encoder counts and if they differ from a set range (eg. a connection loss or problem with encoder) then the system will shut down.
I think that this would just be a simple C program that keeps monitoring the channel positions, scales them, and compares the error.
Let me know if that sounds like it would work.
Thanks
Dave